Skip to main content
Version: 4.x.x

OnFinishedCallbackType


import { OnFinishedCallbackType } from "@hyper-fetch/react"

Description

Defined in react/src/helpers/use-request-events/use-request-events.types.ts:98

Preview

type OnFinishedCallbackType<Request> = (params: CallbackParameters<Request, ExtractAdapterReturnType<Request>>) => void | Promise<void>;

Structure

(params: CallbackParameters<Request, ExtractAdapterReturnType<Request>>) => void | Promise<void>